repo.or.cz
/
andmenj-acm.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Solving 10385 - Duathlon (Ternary search)
[andmenj-acm.git]
/
10090 - Marbles
/
in.txt
blob
b4f19de5e42b7107b84be702606369b3cea6a254
1
2000000000
2
2 1000000009
3
1 1000000007
4
5
2000000000
6
2 999999999
7
1 1
8
9
2000000000
10
1 1
11
2 999999999
12
13
9990
14
3 3
15
88 89
16
17
9991
18
3 3
19
88 89
20
21
9992
22
3 3
23
88 89
24
25
9993
26
3 3
27
88 89
28
29
9994
30
3 3
31
88 89
32
33
9997
34
3 3
35
88 89
36
37
10000
38
3 3
39
88 89
40
41
10000
42
1 1
43
998 999
44
45
10000
46
998 999
47
1 1
48
49
10000
50
1000 999
51
1 1
52
53
10000
54
1 1
55
1000 999
56
57
1000
58
21 2
59
21 3
60
61
2601
62
6 11
63
32 45
64
65
247558756
66
11479 13625
67
11229 8731
68
69
32661225
70
5286 422
71
5398 4247
72
73
251001
74
293 359
75
388 180
76
77
389193984
78
168 5448
79
1999 14772
80
81
133356304
82
1870 8365
83
2572 3204
84
85
389193984
86
168 5448
87
1999 14772
88
89
2000000000
90
1 1
91
3 2
92
93
10
94
1 6
95
1 4
96
0